<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>

<div class="header">
	<h2>
		流程关联映射字段信息<span><font color="red">（* 为必填项）</font> </span>
	</h2>
</div>
<form:form commandName="model" cssClass="validate"
	id="relationProcessMapFieldForm"
	action="bpm/relationProcessMapField/save">
	<form:hidden path="id" />
	<form:hidden path="relationProcessMapId" />
	<table class=" form-table">
		<tbody>
			<tr>
				<td class="td1">字段：</td>
				<td class="td2"><form:select path="toField" items="${fields }"
						itemLabel="name" itemValue="columnName" /></td>
			</tr>
			<tr>
				<td class="td1">模板：</td>
				<td class="td2"><form:textarea cssStyle="height:200px"
						path="toTemplate" cssClass="required" /> <isperp:entityVariable
						tableName="${fromTableName }" id="fromTableColumn"
						targetControlId="toTemplate" /></td>
			</tr>
			<tr>
				<td class="td1">排序：</td>
				<td class="td2"><form:input path="orderNum" cssClass="number" />
				</td>
			</tr>
		</tbody>
	</table>
</form:form>

<isperp:buttonList>
	<button class="submit nui-mainbtn" onclick="isperp.submitForm();">保存</button>
</isperp:buttonList>


